﻿namespace EzDesk.DevHelper.EzMLGenerator.EzML
{
    public class BasicInfoProcessor : EzMLProcessor
    {
        string _sectionName;

        public BasicInfoProcessor(string sectionName)
        {
            this._sectionName = sectionName;
        }

        public override string Process(string input)
        {
            return string.Format(
                "<ez:root xmlns:ez=\"http://www.codeplex.com/ezdeskdev\"  section=\"{0}\">{1}</ez:root>",
                _sectionName,
                input);
        }
    }
}
